Finding Equation of a Curve from Its Gradient Function